<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="ice" uri="http://www.icesoft.com/icefaces/component"%>
<f:view>
    <ice:outputHtml>
        <ice:outputHead>
            <title>Confirmation</title>
            <link rel="stylesheet" type="text/css" href="menuStyl.css"/>
            <ice:outputStyle href="./xmlhttp/css/xp/xp.css"/>
        </ice:outputHead>
        <ice:outputBody>
            <div class="container1">
                <div class="header1" align="center"><ice:outputText value="Potwierdź wybraną grę"/></div>
                <br/>
                <ice:form>
                    <div align="center">
                        <ice:outputText value="#{betslip.stake} PLN @ #{betslip.odds}"/>
                        <br/>
                        <ice:outputText value="Away - #{betslip.market.odds_away}"/>
                        <ice:outputText value="Draw - #{betslip.market.odds_draw}" rendered="#{betslip.market.odds_draw > 1}"/>
                        <ice:outputText value="Home - #{betslip.market.odds_home}"/>

                        <br/>
                        <ice:outputText value="Twoj wybor - #{betslip.stringSelection}"/>
                        <br/><br/>
                        <ice:commandButton value="Potwierdź" action="#{betslip.dodaj}"/>
                    <ice:commandButton value="Powrót" action="back"/></div>
                </ice:form>
            </div>
        </ice:outputBody>
    </ice:outputHtml>
</f:view>